<div class="row">

  <div class="col-xs-12">

        <script type="text/javascript">
        //删除确认
        function checkdel()
        {
            if(confirm("确实要删除吗？"))
            {
                return (true);
            }
            else
            {
                return (false);
            }
        }
        </script>

        <ul class="list-group margin-bottom-0">
        <li class="list-group-item active">
        <?php 
        echo $project_info['proname'];
        echo ' [启动时间: '. date('Y-m-d', strtotime($project_info['starttime'])). ']';
        ?>
        </li>
        <?php
            foreach($project_progress as $progress)
            {
                echo '<li class="list-group-item">';
                echo $progress['content'];
                
                if($this->session->userdata('logged_in') == TRUE)
                {
                    echo ' <a href="' . site_url('project/editProgress/' . $progress['id']) . '">编辑</a>';
                    echo ' <a href="' . site_url('project/delProgress/' . $progress['id']) . '" onclick="return checkdel()">删除</a>';
                }
                
                echo '<span class="badge" style="background: #333333;color:#fff">'.date('Y-m-d', strtotime($progress['writetime'])).'</span>';
                echo '</li>';
            }
         ?>
        </ul>

        <?php echo $page_links; ?>
        
  </div>

</div>

  
